package com.example.service;

import com.example.mapper.NoteMapper;
import com.example.pojo.PageBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;
import java.util.List;

@Service
public interface NoteService {

    /**
     * 分页查询笔记（仅作为练手
     *
     * @param page
     * @param pagesize
     * @return
     */
    public PageBean pagelist(Integer page, Integer pagesize, Integer type, LocalDate startTime, LocalDate endTime,String title);

    void delete(List<Integer> ids);
}
